package imgshare.model;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * category
 * @author 
 */
public class Category implements Serializable {
    private Integer id;

    @NotBlank(message = "类别名不能为空")
    private String name;

    @NotBlank(message = "类别显示名不能为空")
    private String memo;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}